body,h1,ul{
    margin: 0;
    padding: 0;
}
ul{
    list-style: outside none none;
}
a{
    text-decoration: none;
}
/* 定义一个导航栏 */
#nav {
    width: 100%;
    min-width: 1263px;
    height: 70px;
    background-color: darkgray;
}
#nav .center{
    /* 1280-滚动条的宽度17 = 1263 */
    width: 1263px;
    height: 70px;
    margin: 0 auto;
    /* background-color: red; */
}
#nav .logo{
    width: 150px;
    height: 70px;
    background-color: blueviolet;
    margin: 0 50px;
    background: url(../img/lanchuang.jpg) no-repeat;
    /* 文本缩进 */
    text-indent: -9999px;
    float: left;
}
#nav .link{
    height: 70px;
    width: 650px;
    line-height: 70px;
    /* background-color: red; */
    float: right;
    color: white;
}
#nav .link li {
    float: left;
    width: 120px;
    text-align: center;
}
#nav .link a{
    /* 将行内元素转换为块级元素 ,扩大范围*/
    display: block;
    color: white;
}
#nav .link a:hover,#nav .active a{
    background-color: black;
}
/* 大图搜索区域 */
#search{
    width: 100%;
    /* 最小宽度 */
    min-width: 1263px;
    height: 600px;
    background: url(../img/adver.jpg) no-repeat center;
    position: relative;

}
#search .center{
    width: 600px;
    height: 60px;
    background-color: darkgray;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px 0 0 -300px ;
    /* 设置透明度 */
    opacity: 0.6;
    /* 设置圆角 */
    border-radius: 10px;
}
#search .search{
    width: 445px;
    height: 50px;
    padding:0 ;
    background-color: #eee;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -27px 0 0 -296px ;
    font-size: 24px;
    padding: 0 10px;
    color: #ccc;
    outline: none;
    border: 1px solid #333;
    /* 设置圆角 */
    border-radius: 10px;
}
#search .button{
    width: 120px;
    height: 50px;
    background-color: #eee;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -27px 0 0 175px ;
    font-size: 24px;
    border: 1px solid #333;
    outline: none;
    /* 设置圆角 */
    border-radius: 10px;
    cursor: pointer;
}
#section{
    width: 100%;
    min-width: 1263px;
    margin: 20px auto;
}
#section > h1{
    text-align: center;
}

#section > p{
    text-align: center;
    color: #666;
}
#section > div{
    width: 300px;
    height: 210px;
    border: 1px solid #666;
    font-size: 8px;
    position: relative;
    float: left;
    margin: 8px;
    left: 12vw
}
#section > div > span{
    width: 70px;
    height: 15px;
    position: absolute;
    left: 0px;
    top: 0px;
    text-align: center;
    background-color: green;
    border-radius: 3px;
    color: white;
}
#section > div > p{
    margin: 0;
    padding: 0;
}
#section > div > img{
    width: 290px;
    height: 150px;
    margin: 4px;
}
#section > div >div>span{
    font-size: 16px;
    color: rgb(232, 72, 72);
}
#section > div >div>p{
    list-style: outside none none;
    font-size: 5px;
    position: absolute;
    right: 5px;
    bottom: 1px;
    color: #666;

}